package cn.service;

import entity.Category;
import entity.DTO;
import entity.Result;

public interface AttributeService {
    boolean queryByLeftStrAndLevel(String leftStr, Integer level);
    boolean queryByRightStrAndLevel(String rightStr, Integer level);
    Long queryIdByLeftStr(String leftStr, Integer level);
    Result insertLeftStr(Category category);
    Result queryByLevel(Integer level,Integer currentPage,Integer pageSize);
    Result updateByPrimaryKeySelective(Category category);
    Category selectByPrimaryKey(Long categoryId);
    Result deleteRow(Long categoryId);
    Result deleteAttributeListRow(Integer attribute_id);
    Result attributeListEdit(DTO dto);
}
